@charset "UTF-8";
@import url('displaFlex');





@safeWidth:1100px;        //安全宽度

@safeMainColor:#01cbe9;       //主题颜色
@safeMinorColor:#ff6f6e;       //主题颜色

@borderColor:#dcdcdc;     //边框颜色
@25mainWordColor:#252525;   //文字主体颜色
@4aviceWordColor:#4a4a4a;   //文字副级颜色
@99minorWordColor:#999999;  //文字次要颜色

@letwinW:420/1920;
@letwinH:420/500;

.w_h(@w_h){
  width: @w_h ;
  height: @w_h ;
}

//文字溢出
//多行
.wordSpaceClamp(@number){
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:@number;
  overflow: hidden;
}
//单行
.wordSpaceClamp{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.hover(@color){
  &:hover{
    background-color: @color;
    color: #FFFFFF;
    text-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    transition: all 1s cubic-bezier(0, 0.72, 0.35, 1.12);
  }
}

.nav{
  width: @safeWidth;
  margin:20px auto;
  a{
    font-size: 16px;
    color: #4a4a4a;
  }
  :nth-child(1){
    padding-right: 15px;
    background: url("../publicImg/jiantou-you-hui@2x.png") no-repeat right;
    margin-right: 10px;
  }
}

main{
  width:@safeWidth;
  margin: 0 auto;
  .displayFlex;
  .flex-direction-column;
  border: 1px solid @borderColor;
  padding: 30px 0;
  margin-bottom: 50px;


  .mainInner{
    width:920px;
    margin: 0 auto;
    background: #f6f6f6;


    h1{
      font-size: 20px;
      color: @4aviceWordColor;
      margin-top: 50px;
      margin-bottom: 60px;
      text-align: center;
    }
    p{
      font-size: 16px;
      color: @4aviceWordColor;
      text-indent: 2em;
      margin-bottom: 20px;

    }
  }



}

